package States;

import java.util.ArrayList;

import Route.*;
import Templates.State;
import Operators.DrumOperator.InitialState;

public class StationState {
	public static Statie curenta;
	//urmatoarele field-uri se iau din interfata
	//private static Statie startStation, endStation;
	
	public static State<Statie> initalState()
	{
		return new State<Statie>(curenta,new InitialState());
	}
	
	
	public static ArrayList<State<Statie>> finalStates()
	{
		ArrayList<State<Statie>> fStates=new ArrayList<State<Statie>>();
		fStates.add(new State<Statie>(curenta, null));
		return fStates;
	}
	
	public StationState(Statie s1){
		curenta = s1;
	}

	public Statie getCurenta() {
		return curenta;
	}

	public void setCurenta(Statie curenta) {
		this.curenta = curenta;
	}
        public String toString(){
            return this.curenta.toString();
        }


	
}
